package com.daigoudao.web.model;

import java.io.Serializable;

import com.daigoudao.util.Constants;

/**
 * 分页基类
 * 
 * @author zheng
 * 
 */
public class BasePageModel implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 每页超始位置
	 */
	protected int startIndex = 0;

	/**
	 * 每页记录数
	 */
	protected int pageSize = Constants.PAGE_SIZE;

	public int getStartIndex() {
		return startIndex;
	}

	public void setStartIndex(int startIndex) {
		this.startIndex = startIndex;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}


}
